package tech.aistar.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import tech.aistar.entity.SeeRoomTrend;
import tech.aistar.mapper.EvaluateMapper;
import tech.aistar.mapper.SeeRoomTrendMapper;
import tech.aistar.service.ISeeRoomTrendService;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Auther: shuaiguo
 * @Date: 2020/10/01/17:43
 * @Description:
 */
@Service
public class SeeRoomTrendImpl implements ISeeRoomTrendService {
    @Autowired
    private SeeRoomTrendMapper seeRoomTrendMapper;
    @Override
    public List<SeeRoomTrend> selectAll() {
        return seeRoomTrendMapper.selectAll();
    }

    @Override
    public void insert(SeeRoomTrend seeRoomTrend) {
seeRoomTrendMapper.insert(seeRoomTrend);
    }

    @Override
    public void updateByPrimaryKey(SeeRoomTrend seeRoomTrend) {
seeRoomTrendMapper.updateByPrimaryKey(seeRoomTrend);
    }

    @Override
    public void deleteByPrimaryKey(Integer id) {
seeRoomTrendMapper.deleteByPrimaryKey(id);
    }
}
